
using Core.Toolkit.Core.Entitys;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Entitys
{
    /// <summary>
    /// 隐患_排查计划项目明细
    /// </summary>
    public class YH_ScreeningPlanProDetail : Entity
    {
        /// <summary>
        /// 涉及区域ID
        /// </summary>
        public Guid? Region { get; set; }
        /// <summary>
        /// 隐患排查计划项目ID
        /// </summary>
        public Guid? ScreeningPlanProjectId { get; set; }
        /// <summary>
        /// 排查大类代码
        /// </summary>
        public String SearchMajorCode { get; set; }
        /// <summary>
        /// 隐患类型ID
        /// </summary>
        public Guid? HazardTypeID { get; set; }
        /// <summary>
        /// 排查标准ID
        /// </summary>
        public Guid? StandardID { get; set; }
        /// <summary>
        /// 排查标准内容
        /// </summary>
        public String StandardContent { get; set; }
        /// <summary>
        /// 0标准/1手工  来源(知识库/基础库/手工)
        /// </summary>
        [StringLength(20)]
        public String Type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }
        public Guid? RiskLevel { get; set; }

        public YH_Grade YH_Grade { get; set; }

        public SysArea SysArea { get; set; }
    }
}
